#pragma once

#define _CRT_SECURE_NO_WARNINGS 1

#include<stdio.h>
#include<stdlib.h>
#include<time.h>

#define rows 3
#define cols 3

//初始化棋盘
void Init_board(char arr[rows][cols],int row, int col);
//打印棋盘
void print_board(char arr[rows][cols], int row, int col);
//玩家下棋
void Player_action(char arr[rows][cols], int row, int col);
//电脑下棋
void Computer_operation(char arr[rows][cols], int row, int col);
//判断输赢
char Winning(char arr[rows][cols], int row, int col);